forum

home / developersection / forums / wpf prioritybinding and multibinding

WPF PriorityBinding and MultiBinding

Mark Devid 4444 17-Dec-2013

Is it possible to mix and PriorityBinding MultiBinding in WPF?

<TextBlock>
  <TextBlock.Text>
    <PriorityBinding TargetNullValue="{x:Static sys:String.Empty}">
      <Binding Path="Client.Address.PoBox" />
      <MultiBinding StringFormat="{}{0} {1}">
        <Binding Path="Client.Address.Street.Name" />
        <Binding Path="Client.Address.Street.Number" />      </MultiBinding>    </PriorityBinding>
  </TextBlock.Text>
</TextBlock>

wpf wpf 
Updated on 17-Dec-2013
Can you answer this question?

Answer

1 Answers

Liked By